@prefix-cls: contract-manage-count-style;

.displayDirection() {
  display: flex;
  flex-direction: column;
}

.@{prefix-cls} {
  &- {
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

  &-titleBox {
    width: 100%;
    position: relative;

    &-spanText {
      padding: 0px 0px;
    }

    &-red {
      color: red;
    }

    &-relateNumBox {
      position: absolute;
      right: -8px;
      top: -8px;
      // width: 40px;
      // height: 40px;
      width: 30px;
      height: 30px;
      background: #ff0000;
      -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%);
      clip-path: polygon(0 0, 100% 0, 100% 100%);
    }

    &-countTextWithinTen {
      position: absolute;
      color: rgb(255, 255, 255);
      top: 0px;
      right: 5px;
      font-size: 12px;
    }

    &-countTextBeyondTen {
      position: absolute;
      color: rgb(255, 255, 255);
      top: 1px;
      right: 3px;
      font-size: 12px;
    }
  }
}
